home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ECTS 1998 Ubi Soft Enter…inment Press Kit (Europe)
/
ECTS 1998 Ubi Soft Entertainment Press Kit (Europe).bin
/
text
/
CORPO.cst
/
00075_Script_TEXT CONTROL
< prev
next >
Wrap
Text File
|
1998-08-18
|
1KB
|
55 lines
on mouseWithin me
if the name of member the member of sprite ¼
the currentspritenum = "SHORT" then
cursor 260
else
cursor 280
end if
end
on mouseLeave me
cursor -1
end
on mouseDown me
if the name of member the member of sprite ¼
the currentspritenum = "SHORT" then
cursor 290
set MonTexte to the text of member "CHAOS F"
set NbLines to the number of lines in MonTexte
if NbLines < 18 then abort
repeat while the mouseDown
set Atester to the mouseV
if Atester < 219 then
set the locV of sprite the currentspritenum to 218
set the text of member "FENETRE" to line 1 to 18 of MonTexte
else if Atester > 537 then
set the locV of sprite the currentspritenum to 538
set the text of member "FENETRE" to line (NbLines - 17)¼
to NbLines of MonTexte
else
set Moyenne to integer(float(Atester - 219)/318.0 *¼
float(NbLines)) + 1
set the locV of sprite the currentspritenum to the mouseV
set the text of member "FENETRE" to line Moyenne to ¼
(Moyenne + 19) of MonTexte
end if
updateStage
end repeat
else
if the name of member the currentspritenum = "UP" then
set Loi to 1
else
set Loi to -1
end if
repeat while the mouseDown
end repeat
end if
end